#ifndef __WIZ_ALGEBRA_RADIAN_INL__SHANHAOBO_19800429__
#   error only be included in "WizAlgebraRadian.hpp"
#endif /*__WIZ_ALGEBRA_RADIAN_INL__SHANHAOBO_19800429__*/

#include "../WizAlgebraBase.hpp"

#include "./WizAlgebraDegree.hpp"

namespace Wiz
{
    namespace Radian
    {
        ::Wiz::Void::Type Type::FromDegree(::Wiz::Degree::In deg)
        {
            *this = deg.ToRadian();
        }

        ::Wiz::Degree::Type Type::ToDegree() const
        {
            ::Wiz::Degree::Type deg;
            deg.FromReal(this->m_Value * ::Wiz::DegPerRad);
            return deg;
        }
    } /// end of namespace DataType
} /// end of namespace Wiz
